<template>
	<view class="wrap">
		<SearchBox class="mySearchBox" showOper="add" @add="addPage"></SearchBox>
		<view class="list">
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
			<view class="item">
				<image src="@/static/images/book.jpg" mode=""></image>
				<view>这是书的名称</view>
			</view>
		</view>
	</view>
</template>

<script>
	import SearchBox from '@/components/searchBox.vue';
	export default {
		components: {
			SearchBox
		},
		data() {
			return {
				
			}
		},
		methods: {
			addPage(){
				this.$u.route({
					url: 'pages/workbench/dispatch/databank/add'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
.list{
	overflow: hidden;
	padding:0 10rpx;
	.item{
		width: 33.33%;
		padding:10rpx;
		float:left;
		text-align: center;
		image{
			width: 100%;
			height:160px;
		}
	}
}
</style>
